package com.example.filecabinet.dao;

import com.example.filecabinet.entity.Record_info;
import com.example.filecabinet.entity.Record_infoExample;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface Record_infoMapper {
    long countByExample(Record_infoExample example);

    int deleteByExample(Record_infoExample example);

    int deleteByPrimaryKey(String recordId);

    int insert(Record_info record);

    int insertSelective(Record_info record);

    List<Record_info> selectByExample(Record_infoExample example);

    Record_info selectByPrimaryKey(String recordId);

    int updateByExampleSelective(@Param("record") Record_info record, @Param("example") Record_infoExample example);

    int updateByExample(@Param("record") Record_info record, @Param("example") Record_infoExample example);

    int updateByPrimaryKeySelective(Record_info record);

    int updateByPrimaryKey(Record_info record);
}
